package com.wzdigit.wms.hm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.hm.domain.Warehouse;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 仓库 Mapper 接口
 * </p>
 *
 * @author
 * @since 2020-12-28
 */
@MyBatisRepository
public interface WarehouseMapper extends BaseMapper<Warehouse> {

//	List<UserDataPermissionResponse> selectPerms(@Param("userId") Integer userId, @Param("udf1") String udf1);
//
//	@SuppressWarnings("rawtypes")
//	List<WarehouseResponse> selectAll(@Param("dto") SearchWarehouseRequest dto);
//
//	WarehouseResponse selectOneByWhsId(@Param("whsId") Integer whsId);
//
//	List<WarehouseApiResponse> selectAllByUserId(@Param("userId") Integer userId);
//
//	List<WarehouseApiResponse> selectAllByStatus(@Param("status") Integer status);

	Warehouse selectOneByWhsCode(@Param("whsCode") String whsCode);

//	Warehouse selectOneByWhsName(@Param("whsName") String whsName);
//
//	Warehouse selectOneByZoneId(@Param("zoneId") Integer zoneId);
//
//	int updateStatus(Warehouse record);
//
//	int deleteByPrimaryKey(Integer whsId);
//
//	int insert(Warehouse record);
//
//	Warehouse selectByPrimaryKey(Integer whsId);
//
//	int updateByPrimaryKeySelective(Warehouse record);
//
//	int updateByPrimaryKey(Warehouse record);


}
